let local={
  get:function (key) {
    return JSON.parse(localStorage.getItem(key))
  },
  set:function (key,val) {
    localStorage.setItem(key,JSON.stringify(val))
  }
};
export default {
  install:function (vm) {
    vm.prototype.$local=local
  }
}
